<!DOCTYPE html>
<html>
	<head>
{block name="title"}
		<meta charset="UTF-8">
		<title>{$site.title}</title>
{/block}
		<script type="text/javascript" src="JS/jquery-1.7.2.min.js" ></script>
		<script type="text/javascript" src="JS/index.js" ></script>
		<meta name="description" content="{$site.dis}" />
		<meta name="keywords" content="{$site.keywords}" />
		<link rel="stylesheet" href="CSS/style.css" />
	{$site.head}
	</head>

	
	<body>
		<header>
		    <div class="headcon">
		       
				<div class="logo"><a href="{:U('/')}"><img src="UPLOADS/{$site.logo}" alt="" /></a></div>
		        <div class="head_rg">
		            <div class="telphone"><img src="UPLOADS/{$site.telico}" /> &nbsp;<span>市场热线：{$site.iphone}</span></div>
		            <div class="search">
					{Wh:search id="0"}
						<input class="text1" name="keyword"  placeholder="请输入您要搜索的内容" type="text"  /><input  class="submit" type="submit" value="" />
					{/Wh:search}
		            <!-- <input class="text1" type="text" name="" value="" placeholder="请输入您要搜索的内容" />
		            <input class="submit" type="submit" value="" /> -->
		            </div>
		        </div> 
		    </div>
		    <nav>
		        <div class="navcon">
					<ul>
		            <?php if(isset($term)){ ?>
						<a href="{:U('/')}"><li>首页</li></a>
						<?php } else { ?>
						<a href="{:U('/')}"><li class="on"> 首页</li></a>
						<?php }; ?>
						{foreach $termList.nav as $tn}
							<?php if(isset ($term['address'][$tn['id']])){ ?>
							<a href="{$tn.url}"><li class="on">{$tn.name}</li></a>
							<?php }else{ ?>
							<a href="{$tn.url}"><li>{$tn.name}</li></a>
							<?php }; ?>
						{/foreach}
					<ul>						
		        </div>
		    </nav>
		</header>
{block name="b1"}
		<div class="con_ban" style="background:url(UPLOADS/{$site.img}) no-repeat center;" ><!--导航栏下图片-->
		</div>
{/block}
		
{block name="b2"}
		<section class="miancont">
		{block name="b3"}
			<div class="position"><img src="images/position.png" /> &nbsp; 您当前所在的位置：<a href="{:U('/')}">首页</a> > <a href="">{$term.parent.name}</a> > {$term.name} </div>
		{/block}

			<div class="content">
				<div class="leftnav">
{block name="content"}
					<div class="lenav_top">
						<div class="navtit">
							<p><img src="UPLOADS/{$term.parent.tag.lmbt}" /></p>
						</div>
						<div class="lenav_list">
						<ul>
						<!--子栏目循环-->
						{foreach $term.parent.child as $tc}
						<?php if(isset($term['address'][$tc['id']])){ ?>
							<a href="{$tc.url}#pp"><li class="on">{$tc.name}</li></a>
						<?php }else{ ?>
						<a href="{$tc.url}#pp"><li>{$tc.name}</li></a>
						<?php }; ?>
						{/foreach}	
						<!--子栏目循环END-->						
						</ul>
						</div>
					</div>
{/block}
					<div class="lenav_bot">
						<p class="img"><img src="images/contact.png" /></p>
						<p class="tel">24小时全国热线电话</p>
						<p class="telnub">{$site.iphone}</p>
						<p class="eqt">如果您有任何疑问或是问题，请随时与我们联系</p>
						<a href="{:term('10')['url']}"><p class="viec">查看联系方式 >> </p></a>
					</div>
				</div>
{block name="body"}
				<div class="rightbox">
					<div class="comtoplin"></div>
					<div class="comtoptit">
					<span class="comtit">{$term.description}</span>
					</div>
				</div>
{/block}
			</div>

		</section>
{/block}
		

<footer>
			<div class="foot1">
			
			</div>
			<div class="foot2">
			    <div class="foot2con">
			    	<div class="footnav">
			    		<!--页脚循环-->
						{foreach $termList.nav as $t}
						<div class="fotnavlist">
			    			<ul>
							 <li class="tit"><a href="{$t.url}">{$t.name}</a></li>
								{foreach $t.child as $c}
			    				<a href="{$c.url}"><li>{$c.name}</li></a>
			    				{/foreach}
			    			</ul>
			    		</div>
						{/foreach}
							<!--页脚循环END-->
			    	</div>
			    	<div class="ewm">
			    		<div class="ewmimg"><img src="UPLOADS/{$site.wxlogo}" /></div>
			    		<div class="ewspan">
			    		<p class="tit">{$site.tit}官方微信</p>
			    		<p>{$site.wxts}</p>
                        </div>
			    	</div>
			    </div>
			</div>
			
			<div class="footright">
				<p>版权所有：{$site.banquan}　&nbsp;　ICP备案号：{$site.ICP} &nbsp;　互联网药品信息服务资格证书编号：{$site.vm}  &nbsp;技术支持：<a href="http://www.wanhunet.com/">万虎网络</a></p>
			</div>
		</footer>
	</body>
	{$site.tail}
</html>

